import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        int a = 2;
        int b = 3;
        System.out.println(max2(a,b));
        double z = 1.1;
        double x = 2.2;
        double y = 3.3;
        System.out.println(max(z,x,y));

    }
    public static double max(double z,double x,double y) {
        double ret = z>y?z:y;
        return ret>x?ret:x;
    }
    public static int max2(int x,int y) {
        return x>y?x:y;
    }
    public static int max3(int x,int y) {
        return x>y?x:y;
    }
    public static void main111(String[] args) {
        int a = 2;
        int b = 3;
        int c = 4;
        System.out.println(max3(max2(a, b), c));
    }
    public static int sum_int(int a,int b) {
        return a+b;
    }
    public static double sum_double(double z,double x,double y) {
        return z+x+y;
    }
    public static void main35(String[] args) {
        int a = 1;
        int b = 2;
        double z = 1.1;
        double x = 2.2;
        double y = 3.3;
        System.out.println(sum_int(a,b));
        System.out.println(sum_double(z,x,y));
    }
    public static int Feibo(int n) {
        int f1 = 1;
        int f2 = 1;
        int f3 = 1;
        while (n >= 3) {
            f3 = f1 + f2;
            f1 = f2;
            f2 = f3;
            n--;
        }
        return f3;
    }
    public static void main2222(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int ret = Feibo(n);
        System.out.println(ret);
    }
    public static void main123(String[] args) {
        int count = 3;
        String arr = "abc";
        Scanner scanner = new Scanner(System.in);
        while (count > 0) {
            String str = scanner.next();
            if ( str == arr ) {
                System.out.println("登陆成功");
            } else {
                System.out.println("密码错误");
            }
            count--;
            if(count == 0) {
                return ;
            }
        }
    }
 /* public static int max2(int x,int y) {
        return x+y;
    }
    public static int max3(int x,int y) {
        return x+y;
    }
    public static void main222(String[] args) {
        int a = 2;
        int b = 3;
        int c = 4;
        int ret=max2(a,b);
        System.out.println(max3(ret,c));
    }*/
    public static void main22(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()) {
            int n = scanner.nextInt();
            int i;
            int j;
            for (i = 1; i <= n; i++) {
                for (j = 1; j <= n; j++) {
                    if (i == j || j == n - i + 1) {
                        System.out.print("*");
                    } else {
                        System.out.print(" ");
                    }
                }
                System.out.println();
            }
        }
    }
    public static void main11(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int a = scanner.nextInt();
        while (a != 0) {
            System.out.print(a%10+" ");
            a/=10;
        }

    }
    public static void main1(String[] args) {

        double sum = 0;
        int flg = 1;
        for (int i = 1; i <= 100; i++) {
            sum += 1.0/i * flg;
            flg = -flg;
        }
        System.out.println(sum);
    }
    public static void mai1n(String[] args) {
        int i = 1;
        int flag = 1;
        double sum = 0;
        for (i = 1;i <= 100;i++) {
            sum += flag * (1.0 / i);
            flag = -flag;
        }
        System.out.println(sum);
    }
}
